package cn.tm05.pojo;
/**
 * 树节点对象
 * @author TM05
 *
 */
public class TreeNode {
	private String id;//栏目ID
	private String text;//栏目名称
	private boolean leaf;//是否是最后一级 true是最后一级  false不是最后一级
	private String url;//连接地址

	//构造器
	public TreeNode(String id,String text,boolean leaf,String url){
		this.id=id;
		this.text=text;
		this.leaf=leaf;
		this.url=url;
	}

	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public boolean isLeaf() {
		return leaf;
	}
	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
}
